import Vue from 'vue'
import App from './App.vue'
import router from './router'
import LazyLoad from 'vue-lazyload'

Vue.use(LazyLoad, {
  // 图片没展示之前要加载的图片
  loading: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F0196fa582abab6a84a0d304f899eaf.gif&refer=http%3A%2F%2Fimg.zcool.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1640920661&t=cef5eb28565a013e0bb7704f5d101051",
  // 图片加载失败展示的图片
  error: "https://img0.baidu.com/it/u=2970038114,3134509011&fm=26&fmt=auto"
})

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
